package com.pro.xwt.common.mapper;

import java.util.List;
import java.util.Map;

import com.pro.xwt.common.model.BTask;
import com.pro.xwt.common.vo.BEmployeeVO;
import com.pro.xwt.common.vo.BProjectVO;

public interface BTaskMapper extends BaseMapper<BTask, String>{
	List<BTask> selectTaskByEmployee(String empId);
	List<BTask> selectTasks(String execEmpId);
	int activeEmployee();//活跃员工数
	List<BProjectVO> selectTaskCountAndProj(Map<String,Object> map);
	List<BEmployeeVO> selectEmpTasks(Map<String,Object> parameter);
	Map<String,Object>  differentStateTaskSum();
	int deleteTasksByProjId(String ProjId);//根据projectId删除任务数
	int deleteFlowById(String flowId);//根据流程Id删除其流程下的任务
	
	
}